module.exports = {
    easycom: {
        autoscan: true,
        custom: {
            '^u-(.*)': 'uview-plus/components/u-$1/u-$1.vue',
            '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
        },
    },
    pages: [
        // 登录
        ...require('./page_config/router/login.js'),
        // tarbar栏
        ...require('./page_config/index.js'),
        // 设置
        ...require('./page_config/router/setting.js'),
        // 图片水印
        ...require('./page_config/router/watermark.js'),
        {
            path: 'uni_modules/uni-upgrade-center-app/pages/upgrade-popup',
            style: {
                disableScroll: true,
                'app-plus': {
                    backgroundColorTop: 'transparent',
                    background: 'transparent',
                    titleNView: false,
                    scrollIndicator: false,
                    popGesture: 'none',
                    animationType: 'fade-in',
                    animationDuration: 200,
                },
            },
        },
    ],
    // tabBar
    tabBar: require('./page_config/tabbar.js'),
    // 全局样式
    globalStyle: require('./page_config/global-style.js'),
};
